|
|
|
|
|
|
|
Youll change very few properties for the frame control. Table 3.7 lists the properties changed most often for the frame control. |
|
|
|
|
| Table 3.7 Common Frame Properties. | | Property | Description | | Caption | Set this property to the value you want to display on the top-left side of the frame. | | Enabled | Set this property to False to disable all the controls contained within the frame control. | | Name | Set this property to the name of the control as you want to refer to it in source code. You should preface the name with the letters fra. | | Visible | When you set this property to False, all of the controls within the container will be hidden. |
|
|
|
|
|
|
An option button, sometimes called a radio button, is used to create mutually exclusive options. For example, if youve created a field named Sex, an employee can only choose one of two optionsmale or female. When you click one of the option buttons, any other button previously selected in the group will automatically turn off. You can group option buttons by placing each group in separate frames. |
|
|
|
|
| Add Option Buttons for Mutually Exclusive Options 1. Click once on the Sex frame to give it focus. This ensures that the option buttons youre about to add are placed inside of the frame. 2. Grab an option button from the toolbar and draw it on the frame. 3. Set the Name property to optMale. 4. Set the Caption property to Male. 5. Copy and paste another control. 6. Click once on the optMale option button to give it focus. |
|
|
|